import Vue from "vue";
import VueI18n from "vue-i18n";
import messages from "./langs";
import Store from "../store";
Vue.use(VueI18n);
const i18n = new VueI18n({
  locale: Store.getters.language,
  messages,
  silentTranslationWarn: true // 去除国际化警告
});
export default i18n;
